package com.sky.web.fegin.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.sky.web.fegin.service.MemberFeign;
@RestController
public class OrderFeginController {
	@Autowired
	private MemberFeign memberFeign;
	@RequestMapping("/getOrderByUserList")
	public List<String> getOrderByUserList(){
		List<String> list  = memberFeign.getOrderByUserList();
		System.out.println("fegin订单服务调用会员服务==========="+list.size());
		return list;
	}

}
